package com.wisezone.demo0214;

public class MyRunable implements  Runnable{
    @Override
    public void run() {
        Thread t=Thread.currentThread();
        t.setPriority(Thread.MAX_PRIORITY);
        System.out.println("线程优先级："+t.getPriority());
        System.out.println(t.getName()+" 实现MyRunable接口的类。》》》》》》》》");
    }
}
